home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / CIIGSIncludes / Scrap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-03  |  1.4 KB  |  41 lines  |  [TEXT/MPS ]

  1. /********************************************
  2. ; File: Scrap.h
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc.1986-90
  6. ; All Rights Reserved
  7. ;
  8. ********************************************/
  9. #ifndef __TYPES__
  10. #include <TYPES.h>
  11. #endif
  12.  
  13. #ifndef __SCRAP__
  14. #define __SCRAP__
  15.  
  16.  
  17. /* Error Codes */
  18. #define badScrapType 0x1610  /* No scrap of this type. */
  19.  
  20. /* Scrap Types */
  21. #define textScrap 0x0000
  22. #define picScrap 0x0001
  23. extern pascal void GetScrap() inline(0x0D16,dispatcher);
  24. extern pascal Word GetScrapCount() inline(0x1216,dispatcher);
  25. extern pascal handle GetScrapHandle() inline(0x0E16,dispatcher);
  26. extern pascal Pointer GetScrapPath() inline(0x1016,dispatcher);
  27. extern pascal LongWord GetScrapSize() inline(0x0F16,dispatcher);
  28. extern pascal Word GetScrapState() inline(0x1316,dispatcher);
  29. extern pascal void LoadScrap() inline(0x0A16,dispatcher);
  30. extern pascal void PutScrap() inline(0x0C16,dispatcher);
  31. extern pascal void ScrapBootInit() inline(0x0116,dispatcher);
  32. extern pascal void ScrapReset() inline(0x0516,dispatcher);
  33. extern pascal void ScrapShutDown() inline(0x0316,dispatcher);
  34. extern pascal void ScrapStartUp() inline(0x0216,dispatcher);
  35. extern pascal Boolean ScrapStatus() inline(0x0616,dispatcher);
  36. extern pascal Word ScrapVersion() inline(0x0416,dispatcher);
  37. extern pascal void SetScrapPath() inline(0x1116,dispatcher);
  38. extern pascal void UnloadScrap() inline(0x0916,dispatcher);
  39. extern pascal void ZeroScrap() inline(0x0B16,dispatcher);
  40. #endif
  41.